<?php

namespace App\Models;

/**
 * App\Models\IndexSearchNote
 *
 * @property int $id
 * @property string $note_id 笔记ID
 * @property string $user_id 用户ID
 * @property string $article_id 文章ID
 * @property int $type 笔记类型，1文章笔记，2文章划线笔记，3纯文字笔记，4带图的笔记
 * @property int $is_deleted 删除状态，0正常，1删除
 * @property int $is_public 是否公开，0私密，1公开
 * @property int $is_shield 屏蔽状态，0正常，1屏蔽
 * @property \Illuminate\Support\Carbon $created_at 创建时间戳
 * @property \Illuminate\Support\Carbon $updated_at 更新时间戳
 * @property string $content 笔记内容
 * @method static \Illuminate\Database\Eloquent\Builder|IndexSearchNote newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexSearchNote newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IndexSearchNote query()
 */
class IndexSearchNote extends BaseModel
{

    protected $table = "index_search_note";
    protected $primaryKey = "note_id";
    protected $keyType = "string";
    public $timestamps = true;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];

    /**
     * The attributes that should be hidden for arrays.
     *
     * @var array
     */
    protected $hidden = [];

    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [];

    /**
     * select columns
     * @var array
     */
    public $fields = [];

}
